package com.jy.study;

import cn.hutool.core.util.StrUtil;

/**
 * @Classname StrUtils
 * @Description 字符串工具类
 * @Date 2019/9/30 10:45
 * @Created by  jiaoyong
 */
public class StrUtils {

    public static void main(String[] args) {

        String s1 = " ";
        //strFlag1 = true
        boolean strFlag1 = StrUtil.hasBlank(s1);
        //strFlag2 = false
        boolean strFlag2 = StrUtil.hasEmpty(s1);
    }
}
